package com.example.exceldemo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "SaleDataExcelDto对象", description = "execl导出数据对象")
public class SaleDataExcelDto implements Serializable {
    @ApiModelProperty("序号")
    private Integer line;

    @ApiModelProperty("日期")
    private LocalDate saleTime;

    @ApiModelProperty("购物ID")
    private String shopNo;

    @ApiModelProperty("品牌名称")
    private String brandName;

    @ApiModelProperty("销售额（元）")
    private BigDecimal storeAmount;

    @ApiModelProperty("销售笔数（单）")
    private Integer storeOrder;

    @ApiModelProperty("外卖销售额（元）")
    private BigDecimal takeawayAmount;

    @ApiModelProperty("外卖销售笔数（单）")
    private Integer takeawayOrder;
}
